gtk4.git
12 years agoRevert "Deprecate and ignore the cursor blink settings"
Matthias Clasen [Sat, 17 Aug 2013 02:45:13 +0000 (22:45 -0400)]
Revert "Deprecate and ignore the cursor blink settings"

This reverts commit b2e666bf8f297eb998331fa8ce0062ce7a5198fa.

We need to keep cursor blinking configurable for accessibility
reasons.

https://bugzilla.gnome.org/show_bug.cgi?id=704134

Conflicts:
gdk/win32/gdkproperty-win32.c
gdk/x11/gdksettings.c
gtk/gtksettings.c
gtk/gtktextview.c

12 years agoMake symbolic icons work with the current rsvg
Matthias Clasen [Fri, 16 Aug 2013 22:57:21 +0000 (18:57 -0400)]
Make symbolic icons work with the current rsvg

The rsvg loader now restricts what external files it will
allow to load from an svg. Thus our xinclude trick doesn't work
anymore. To work around that, embed the payload in a  data: uri.
This is somewhat ugly, but the best we could come up with.

12 years agoBug 705750 Quartz input method doesn't work correctly for Chinese characters
Ek Kato [Fri, 16 Aug 2013 16:54:34 +0000 (09:54 -0700)]
Bug 705750 Quartz input method doesn't work correctly for Chinese characters

Modified from original for Gtk3.

12 years agoAdd style classes to headerbar titles
Matthias Clasen [Fri, 16 Aug 2013 17:35:28 +0000 (13:35 -0400)]
Add style classes to headerbar titles

The current theme just makes all text bold that appears anywhere
in a headerbar, which is not great. We add 'title' and 'subtitle'
style classes to allow more targeted overriding of the font.

12 years agoUpdate config.h.win32.in
Chun-wei Fan [Fri, 16 Aug 2013 06:39:08 +0000 (14:39 +0800)]
Update config.h.win32.in

Make its entries match those that are checked by autotools in config.h.in

12 years agoFix a crasher that was introduced by 9ca802161ec6387419d160f21fe477008a567477
Cody Russell [Thu, 15 Aug 2013 20:08:34 +0000 (15:08 -0500)]
Fix a crasher that was introduced by 9ca802161ec6387419d160f21fe477008a567477
due to preedit_str being initialized as an empty string rather than NULL.

12 years agoBug 705182 Reset Cocoa IME state when immodule is reset
Michael Hutchison [Thu, 15 Aug 2013 16:44:02 +0000 (09:44 -0700)]
Bug 705182 Reset Cocoa IME state when immodule is reset

Commits the pre-edit string on receipt of focus_out and reset
commands.
Patch refinements by Cody Russell <bratsche@gnome.org> and
Ek Kato <ek.kato@gmail.com>

12 years agogtksearchentry: Provide an accessible name
Joanmarie Diggs [Thu, 15 Aug 2013 13:20:19 +0000 (15:20 +0200)]
gtksearchentry: Provide an accessible name

https://bugzilla.gnome.org/show_bug.cgi?id=706014

12 years agoClean up Property Sheets a bit
Chun-wei Fan [Thu, 15 Aug 2013 13:48:22 +0000 (21:48 +0800)]
Clean up Property Sheets a bit

...from the last commit, as some unecessary stuff was left over in the
Visual Studio 2010 property sheets.

12 years agoUpdate Visual Studio Property Sheets
Chun-wei Fan [Thu, 15 Aug 2013 13:45:27 +0000 (21:45 +0800)]
Update Visual Studio Property Sheets

-For the binary "installation", look for the DLL files with their file
 names consistent with the ones that are generated with the respective
 Visual Studio projects.
-Remove any stray GDK DLLs that were left over from a Broadway-enabled
 GDK when building a non-Broadway-enabled GTK+ binary set.

12 years agogtkdnd: Introduce a new API for more accurate drag origin data
Jasper St. Pierre [Wed, 7 Aug 2013 09:10:42 +0000 (05:10 -0400)]
gtkdnd: Introduce a new API for more accurate drag origin data

When trying to drag, we currently the position of the first motion
event to determine where the drag came from. This might be alright
in the case of the old animation, but the data will be inaccurate
if the user has moved the pointer quite a bit since pressing the
cursor to start dragging. While we could monkey patch the GdkEvent
at the widget layer, this is unintuitive and strange.

Add a new API that takes a set of pointer coordinates describing
the origin of the drag. Additionally, adapt most widgets to use
it and use it with correct coordinates.

https://bugzilla.gnome.org/show_bug.cgi?id=705605

12 years agogtkdnd: Use a more modern spring back animation for cancelled drags
Jasper St. Pierre [Wed, 7 Aug 2013 07:24:01 +0000 (03:24 -0400)]
gtkdnd: Use a more modern spring back animation for cancelled drags

https://bugzilla.gnome.org/show_bug.cgi?id=705605

12 years agogtktextutil: Remove the border and background from drag icons
Jasper St. Pierre [Wed, 7 Aug 2013 14:21:21 +0000 (10:21 -0400)]
gtktextutil: Remove the border and background from drag icons

https://bugzilla.gnome.org/show_bug.cgi?id=705605

12 years agodoap: doap files are required to have a lowercase <name>
Alberto Ruiz [Wed, 14 Aug 2013 10:05:15 +0000 (12:05 +0200)]
doap: doap files are required to have a lowercase <name>

12 years agodocs: Convert GtkMenuShell comment to documentation
David King [Thu, 15 Nov 2012 19:49:50 +0000 (19:49 +0000)]
docs: Convert GtkMenuShell comment to documentation

https://bugzilla.gnome.org/show_bug.cgi?id=448637

12 years agooopx - fix typo
Yosef Or Boczko [Wed, 14 Aug 2013 07:45:35 +0000 (10:45 +0300)]
oopx - fix typo

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
12 years agoAdd gtk_button_new_from_icon_name
Yosef Or Boczko [Wed, 14 Aug 2013 07:41:42 +0000 (10:41 +0300)]
Add gtk_button_new_from_icon_name

This function is a convenience wrapper around
gtk_button_new() and gtk_button_set_image().

https://bugzilla.gnome.org/show_bug.cgi?id=705918

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
12 years agopaned: minus the size by the handle for the for_child1 computation.
Alban Browaeys [Wed, 7 Aug 2013 16:46:07 +0000 (18:46 +0200)]
paned: minus the size by the handle for the for_child1 computation.

Fixes:
(rhythmbox:22802): Gtk-CRITICAL **:
_gtk_widget_get_preferred_size_for_size: assertion 'size >= -1' failed

that is gtk_paned_get_preferred_size_for_opposite_orientation calls
_gtk_widget_get_preferred_size_for_size on child2 with a negative
size.

As gtkpaned size was (32), child1 minimum size was (55) then
for_child1 became (32) for an handle_size of (5). Thus for_child2
ended up as (-5).

https://bugzilla.gnome.org/show_bug.cgi?id=705624

12 years agoGtkSpinButton: disconnect signals in the accessible
Matthias Clasen [Wed, 14 Aug 2013 04:04:46 +0000 (00:04 -0400)]
GtkSpinButton: disconnect signals in the accessible

Just as for GtkRangeAccessible, we were not even trying to disconnect
the signal handler from the adjustment. The same fix works here:
override the widget_set and widget_unset vfuncs.

https://bugzilla.gnome.org/show_bug.cgi?id=705692

12 years agoGtkRange: disconnect signals in the accessible
Matthias Clasen [Wed, 14 Aug 2013 03:54:53 +0000 (23:54 -0400)]
GtkRange: disconnect signals in the accessible

We were only disconnecting the signal in finalize, when
the widget was already unset. Instead, override the widget_set
and widget_unset vfuncs of GtkAccessible, and keep a reference
to the adjustment.

https://bugzilla.gnome.org/show_bug.cgi?id=705692

12 years agoTrivial typo fix
Matthias Clasen [Wed, 14 Aug 2013 02:25:16 +0000 (22:25 -0400)]
Trivial typo fix

12 years agoImprove a deprecation hint
Matthias Clasen [Wed, 14 Aug 2013 00:41:59 +0000 (20:41 -0400)]
Improve a deprecation hint

Don't point to a replacement that is itself deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=705372

12 years agosearchbar: ignore GDK_KEY_Menu in handle_event()
Stefano Facchini [Mon, 5 Aug 2013 16:22:20 +0000 (18:22 +0200)]
searchbar: ignore GDK_KEY_Menu in handle_event()

https://bugzilla.gnome.org/show_bug.cgi?id=705524

12 years agoMSVC Builds: Update "installation" of headers
Chun-wei Fan [Wed, 14 Aug 2013 00:17:18 +0000 (08:17 +0800)]
MSVC Builds: Update "installation" of headers

"Install" the newly-introduced public header gdkwin32misc.h.

12 years agoBug 702144: Make gdkwin32.h a pure include-only header
Chun-wei Fan [Thu, 13 Jun 2013 04:16:16 +0000 (12:16 +0800)]
Bug 702144: Make gdkwin32.h a pure include-only header

Move all the system includes, defines and function prototypes into a
separate header gdkwin32misc.h, so that we could keep gdkwin32.h as simple
as possible.

12 years agoGTK-Win32: Avoid Using Deprecated API
Chun-wei Fan [Wed, 31 Jul 2013 03:42:36 +0000 (11:42 +0800)]
GTK-Win32: Avoid Using Deprecated API

Replace the deprecated API calls with the updated APIs, and fix the build
of modules/input/gtkimcontextime.c, as we really needed
gdk/gdkkeysyms-compat.h (gdk/gdkkeysyms.h was already included)

https://bugzilla.gnome.org/show_bug.cgi?id=705068

12 years agogdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs
Chun-wei Fan [Tue, 30 Jul 2013 03:11:16 +0000 (11:11 +0800)]
gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs

...this was split into two commits as this source file has different
line endings (for some reason) from the other GDK-Win32 source files that
were updated in the quest to refrain from using deprecated APIs

12 years agoGdkWin32: Avoid Using Deprecated API
Chun-wei Fan [Tue, 30 Jul 2013 03:06:57 +0000 (11:06 +0800)]
GdkWin32: Avoid Using Deprecated API

Update the Win32 GDK backend to not use the deprecated GDK APIs.

https://bugzilla.gnome.org/show_bug.cgi?id=705068

12 years agoAdd a function to get the event type
Matthias Clasen [Tue, 13 Aug 2013 23:06:48 +0000 (19:06 -0400)]
Add a function to get the event type

This is useful for language bindings, who can't easily
access the struct field directly.

https://bugzilla.gnome.org/show_bug.cgi?id=700029

12 years agocsd: Implement middle-click action for titlebar
Matthias Clasen [Tue, 13 Aug 2013 22:24:37 +0000 (18:24 -0400)]
csd: Implement middle-click action for titlebar

The default middle-click action on the titlebar should be to lower
the window. Implement that.

https://bugzilla.gnome.org/show_bug.cgi?id=705809

12 years agoAdd some missing deprecation annotations
Matthias Clasen [Tue, 13 Aug 2013 22:09:47 +0000 (18:09 -0400)]
Add some missing deprecation annotations

These were reported missing in bug
https://bugzilla.gnome.org/show_bug.cgi?id=705672

12 years agoGtkWindow: fix an init/finalize asymmetry
Matthias Clasen [Tue, 13 Aug 2013 21:44:04 +0000 (17:44 -0400)]
GtkWindow: fix an init/finalize asymmetry

Make sure we always deal with the same screen when
connecting / disconnecting the theme-variant changed handler.
Pointed out by Morten Welinder in
https://bugzilla.gnome.org/show_bug.cgi?id=705640

12 years agoAvoid overlong file chooser buttons
Matthias Clasen [Tue, 13 Aug 2013 21:33:55 +0000 (17:33 -0400)]
Avoid overlong file chooser buttons

When bookmarks are long, the file chooser button would
grow too much. This can be avoided by ellipsizing.

Patch by Ritesh Khadgaray,
https://bugzilla.gnome.org/show_bug.cgi?id=672220

12 years agoBug 705181 Annoying beep on arrow keys
Ek Kato [Tue, 13 Aug 2013 18:14:29 +0000 (11:14 -0700)]
Bug 705181 Annoying beep on arrow keys

Original patch was a bit excessive, just needed to not forward the command.

12 years agoicontheme: correctly fallback to symbolic icons
Cosimo Cecchi [Tue, 13 Aug 2013 13:41:08 +0000 (15:41 +0200)]
icontheme: correctly fallback to symbolic icons

When an icon is requested as symbolic, our generic fallback algorithm
uses fullcolor icons when the specified icon name is not found, treating
the "-symbolic" suffix as another component of the icon name.

Change the algorithm to check beforehand if the icon is symbolic, remove
the suffix if so, and re-add it at the end for all the generated icon
names.

https://bugzilla.gnome.org/show_bug.cgi?id=680926

12 years agogtkwindow: Export our custom frame extents
Jasper St. Pierre [Thu, 8 Aug 2013 20:29:02 +0000 (16:29 -0400)]
gtkwindow: Export our custom frame extents

This allows CSD windows to be maximized, tiled, and constrained
properly.

https://bugzilla.gnome.org/show_bug.cgi?id=705765

12 years agox11: Remove dead assignment
Benjamin Otte [Sun, 4 Aug 2013 15:40:34 +0000 (17:40 +0200)]
x11: Remove dead assignment

12 years agoalignment: Remove dead assignment
Benjamin Otte [Sun, 4 Aug 2013 15:38:53 +0000 (17:38 +0200)]
alignment: Remove dead assignment

.. and clean up code

12 years agogtkmenuitem: Remove dead assignment
Benjamin Otte [Sun, 4 Aug 2013 15:30:17 +0000 (17:30 +0200)]
gtkmenuitem: Remove dead assignment

12 years agoDeal with platform-specific im modules
Matthias Clasen [Sun, 11 Aug 2013 19:42:19 +0000 (15:42 -0400)]
Deal with platform-specific im modules

With multiple GDK backends in the process, we run into problems where
we try to use the Wayland im module on X, which crashes. This commit
adds a quick backend filter that removes the wayland, xim and ime
input methods from consideration  unless the corresponding GDK backend
is in use.

12 years agoGtkIMModule: Use default screen when determining context id
Matthias Clasen [Sun, 11 Aug 2013 19:35:07 +0000 (15:35 -0400)]
GtkIMModule: Use default screen when determining context id

This code is called early on, without a window, and then later on
with a window. Currently, it returns different results for these
cases when the setting contains a value. That leads to pointless
construction and destruction of im contexts. Instead, just look
at the settings of the default screen. In practice, there is only
one screen, ever.

12 years agoFix a crash with scaled cursors on Wayland
Matthias Clasen [Sun, 11 Aug 2013 18:53:14 +0000 (14:53 -0400)]
Fix a crash with scaled cursors on Wayland

We need to initialize cursor->surface.scale to 1, since we
are dividing by it in _gdk_wayland_cursor_get_buffer.

12 years agoImplement gdk_display_get_cursor_for_surface in quartz
John Ralls [Sun, 11 Aug 2013 17:43:35 +0000 (10:43 -0700)]
Implement gdk_display_get_cursor_for_surface in quartz

Left out of b2113b7, breaking quartz build

12 years agoBug 701571 NSApp doesn't notice NSWindow destruction
John Ralls [Sat, 10 Aug 2013 21:15:19 +0000 (14:15 -0700)]
Bug 701571 NSApp doesn't notice NSWindow destruction

Part 1 of the fix; part 2 awaits Glib developer approval (see
https://bugzilla.gnome.org/show_bug.cgi?id=704374) and is more
correctly associated with
https://bugzilla.gnome.org/show_bug.cgi?id=674108

12 years agoUpdate Arabic translations
Khaled Hosny [Sun, 11 Aug 2013 11:07:34 +0000 (13:07 +0200)]
Update Arabic translations

12 years agoBuild Wayland backend by default
Matthias Clasen [Sat, 10 Aug 2013 00:55:49 +0000 (20:55 -0400)]
Build Wayland backend by default

Unless an explicit backend is enabled via configure option, build
both the X11 and Wayland backends.

https://bugzilla.gnome.org/show_bug.cgi?id=705498

12 years agoTry Wayland before X11
Matthias Clasen [Sat, 10 Aug 2013 00:50:57 +0000 (20:50 -0400)]
Try Wayland before X11

When both the Wayland and the X11 backends are built, prefer
Wayland over X11 in the absence of other information.

https://bugzilla.gnome.org/show_bug.cgi?id=705498

12 years agoFix up docs for new cursor apis
Matthias Clasen [Fri, 9 Aug 2013 23:48:23 +0000 (19:48 -0400)]
Fix up docs for new cursor apis

The docs for gdk_cursor_new_from_surface were talking about
pixbufs. And the new APIs were not appearing in the docs
at all yet.

12 years agoUpdated Czech translation
Marek Černocký [Thu, 8 Aug 2013 16:45:41 +0000 (18:45 +0200)]
Updated Czech translation

12 years agoReset cursor when mouse leaves a toplevel window.
Daniel Sabo [Thu, 8 Aug 2013 14:36:28 +0000 (09:36 -0500)]
Reset cursor when mouse leaves a toplevel window.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692548

12 years agodnd: Motif DnD is no longer supported, update docs.
Christian Hergert [Thu, 8 Aug 2013 14:06:00 +0000 (16:06 +0200)]
dnd: Motif DnD is no longer supported, update docs.

12 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 8 Aug 2013 12:09:06 +0000 (14:09 +0200)]
Updated Spanish translation

12 years agolistbox: Reorder code
Kalev Lember [Thu, 8 Aug 2013 06:06:27 +0000 (08:06 +0200)]
listbox: Reorder code

This just moves the gtk_list_box_insert function to where the rest of the
public API is defined.

https://bugzilla.gnome.org/show_bug.cgi?id=705558

12 years agolistbox: Implement gtk_list_box_insert()
Kalev Lember [Wed, 7 Aug 2013 10:36:03 +0000 (12:36 +0200)]
listbox: Implement gtk_list_box_insert()

... to make it possible to insert rows in the middle of the list without having
to fiddle with the sort functions. One of the first users is going to be Glade.

https://bugzilla.gnome.org/show_bug.cgi?id=705558

12 years agoTajik translation updated
Victor Ibragimov [Wed, 7 Aug 2013 16:53:38 +0000 (21:53 +0500)]
Tajik translation updated

12 years agogtkiconview: Take padding into account when getting the cursor hotspot
Jasper St. Pierre [Wed, 7 Aug 2013 08:57:33 +0000 (04:57 -0400)]
gtkiconview: Take padding into account when getting the cursor hotspot

This makes the icon view look completely seamless when dragging.

https://bugzilla.gnome.org/show_bug.cgi?id=705605

12 years agogtkiconview: Remove the border and background from drag icons
Jasper St. Pierre [Wed, 7 Aug 2013 08:56:45 +0000 (04:56 -0400)]
gtkiconview: Remove the border and background from drag icons

This doesn't look good when combined with rounded corners on
selected items.

https://bugzilla.gnome.org/show_bug.cgi?id=705605

12 years agogtkdnd: Clean up the doc comment of gtk_drag_begin
Jasper St. Pierre [Wed, 7 Aug 2013 12:22:51 +0000 (08:22 -0400)]
gtkdnd: Clean up the doc comment of gtk_drag_begin

12 years agogtkstylecontext: Remove some dead code when rendering layouts
Jasper St. Pierre [Wed, 7 Aug 2013 15:46:58 +0000 (11:46 -0400)]
gtkstylecontext: Remove some dead code when rendering layouts

12 years agoheaderbar: use a more standard headerbar look for the close button
Ignacio Casal Quinteiro [Wed, 7 Aug 2013 08:24:14 +0000 (10:24 +0200)]
headerbar: use a more standard headerbar look for the close button

https://bugzilla.gnome.org/show_bug.cgi?id=705601

12 years agogtkdnd: Use surface based cursor APIs
Alexander Larsson [Wed, 7 Aug 2013 11:32:38 +0000 (13:32 +0200)]
gtkdnd: Use surface based cursor APIs

This allows things to correctly scale things on HiDPI screens.

12 years agogdk: Add gdk_cursor_new_from_surface
Alexander Larsson [Wed, 7 Aug 2013 10:18:38 +0000 (12:18 +0200)]
gdk: Add gdk_cursor_new_from_surface

We need this to be able to handle scaled cursor images.
We implement the new _from_pixbuf by converting to a surface and
assuming the scale was 1.

12 years agogdk: Add gdk_cursor_get_surface()
Alexander Larsson [Tue, 6 Aug 2013 14:21:05 +0000 (16:21 +0200)]
gdk: Add gdk_cursor_get_surface()

We want a surface so we can properly represent the scale factor for it.
All backends are converted to use surfaces and we reimplement the
backwards compat code in the generic code.

12 years agogdk_pixbuf_get_from_surface: Avoid copying if source is image surface
Alexander Larsson [Tue, 6 Aug 2013 14:18:13 +0000 (16:18 +0200)]
gdk_pixbuf_get_from_surface: Avoid copying if source is image surface

If the source surface is an image surface we don't need to coerce
it to one.

12 years agogtkiconhelper: Add _gtk_icon_helper_ensure_surface to private header
Alexander Larsson [Wed, 7 Aug 2013 08:52:12 +0000 (10:52 +0200)]
gtkiconhelper: Add _gtk_icon_helper_ensure_surface to private header

12 years agoexamples: Use git.mk
Jasper St. Pierre [Wed, 7 Aug 2013 10:13:09 +0000 (06:13 -0400)]
examples: Use git.mk

12 years agoAdd gtk_list_box_prepend
Paolo Borelli [Tue, 6 Aug 2013 12:57:22 +0000 (14:57 +0200)]
Add gtk_list_box_prepend

Add a convenience method for prepending rows to a list box without
having to fiddle with a sort function.

https://bugzilla.gnome.org/show_bug.cgi?id=705558

12 years agoUpdated Czech translation
Marek Černocký [Tue, 6 Aug 2013 18:43:12 +0000 (20:43 +0200)]
Updated Czech translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 6 Aug 2013 11:56:09 +0000 (19:56 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoaccessibility-dump: Update expected contents
Colin Walters [Tue, 6 Aug 2013 10:21:52 +0000 (11:21 +0100)]
accessibility-dump: Update expected contents

12 years agoaccessibility-dump: Print diff by default
Colin Walters [Tue, 6 Aug 2013 10:19:54 +0000 (11:19 +0100)]
accessibility-dump: Print diff by default

There's just no reason not to; it makes things less tedious to
run from the command line.

12 years agoImprove doc of gtk_text_tag_table_remove()
Sébastien Wilmet [Mon, 5 Aug 2013 18:37:54 +0000 (20:37 +0200)]
Improve doc of gtk_text_tag_table_remove()

It's obvious, but it's better to say it.

https://bugzilla.gnome.org/show_bug.cgi?id=705529

12 years agogtkdnd: Use RGBA windows when dragging if possible
Alexander Larsson [Mon, 5 Aug 2013 14:49:18 +0000 (16:49 +0200)]
gtkdnd: Use RGBA windows when dragging if possible

If we have rgba visuals and a composited screen we should
just use a RGBA window rather than shaped windows.

12 years agocss: Inherit device scale in _gtk_css_image_get_surface
Alexander Larsson [Mon, 5 Aug 2013 14:11:18 +0000 (16:11 +0200)]
css: Inherit device scale in _gtk_css_image_get_surface

To handle hidpi support we need to make sure we don't
downscale scaled css images.

Note: If cairo_surface_create_similar starts doing this
by itself we need to back this out.

12 years agoAdd autoscroll when dragging past boundary of range
William Jon McCann [Mon, 29 Jul 2013 16:06:20 +0000 (12:06 -0400)]
Add autoscroll when dragging past boundary of range

A problem with the zoom scroll mode is that you have to restart
if you hit the bottom of the screen before you hit the bottom
of your document.

This commit adds an autoscroll feature to the zoom scroll: if
you move outside the window while in zoom scroll mode, we keep
scrolling in the direction you were going until you let go
of the mouse button.

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoAdd press and hold support to set zoom scroll mode
William Jon McCann [Thu, 18 Jul 2013 21:35:42 +0000 (17:35 -0400)]
Add press and hold support to set zoom scroll mode

Triggering zoom scroll mode by Shift click was too much
of an easter egg. It also requires using keyboard and
mouse together, which is hard to do for many users.

Instead, we now trigger zoom scroll mode by click-and-hold
(or touch-and-hold).

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoAdd mouse pointer support to press and hold
William Jon McCann [Wed, 24 Jul 2013 23:48:11 +0000 (19:48 -0400)]
Add mouse pointer support to press and hold

The internal class GtkPressAndHold was so far only
reacting to touch events. But in most cases where
a touch-and-hold or 'long press' pattern is useful,
click-and-hold can also be used.

This patch makes GtkPressAndHold react to mouse
clicks as well.

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoDepend on cairo 1.12 (bug #705215)
Benjamin Berg [Fri, 2 Aug 2013 08:58:52 +0000 (10:58 +0200)]
Depend on cairo 1.12 (bug #705215)

This is required for cairo_surface_create_similar_image.

12 years agoGtkHeaderBar: optionally add a close button
Matthias Clasen [Sat, 3 Aug 2013 23:25:26 +0000 (01:25 +0200)]
GtkHeaderBar: optionally add a close button

Add a boolean property that controls whether a window close button
will be shown in the header bar or not. Doing this in the toolkit
will ensure consistency of the visual apperance.

https://bugzilla.gnome.org/show_bug.cgi?id=702971

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 4 Aug 2013 17:54:00 +0000 (19:54 +0200)]
Updated Galician translations

12 years agorange: Remove dead assignment
Benjamin Otte [Sat, 3 Aug 2013 17:00:53 +0000 (19:00 +0200)]
range: Remove dead assignment

12 years agoStop damned-lies complaining about missing .ui/.ui.h files
Gabor Kelemen [Sun, 4 Aug 2013 14:44:36 +0000 (16:44 +0200)]
Stop damned-lies complaining about missing .ui/.ui.h files

12 years agowayland: Dispatch pending events before entering poll
Rob Bradford [Sun, 4 Aug 2013 13:36:01 +0000 (14:36 +0100)]
wayland: Dispatch pending events before entering poll

If we don't dispatch the pending events then we can enter poll with events
still requiring to be processed and which can then lead to us deadlocking
there.

12 years agowayland: Only try and process keyboard events when focussed
Rob Bradford [Sun, 4 Aug 2013 13:01:10 +0000 (14:01 +0100)]
wayland: Only try and process keyboard events when focussed

When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.

12 years agowayland: Only try and process pointer events when focussed
Rob Bradford [Sun, 4 Aug 2013 13:01:10 +0000 (14:01 +0100)]
wayland: Only try and process pointer events when focussed

When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.

12 years agowayland: Only process the event if it's for a GdkWindow
Rob Bradford [Sun, 4 Aug 2013 12:32:41 +0000 (13:32 +0100)]
wayland: Only process the event if it's for a GdkWindow

When we combine GTK with Clutter we will receive events for both surfaces that
we have created as well as those created by Clutter.

12 years agoUpdated Hungarian translation
Gabor Kelemen [Sun, 4 Aug 2013 12:32:29 +0000 (14:32 +0200)]
Updated Hungarian translation

12 years agoUpdated Hungarian translation
Gabor Kelemen [Sun, 4 Aug 2013 10:55:17 +0000 (12:55 +0200)]
Updated Hungarian translation

12 years agoUpdated Czech translation
Marek Černocký [Sun, 4 Aug 2013 07:26:43 +0000 (09:26 +0200)]
Updated Czech translation

12 years agothemingengine: use gtk_icon_source_get_state_wildcarded()
Cosimo Cecchi [Sun, 4 Aug 2013 07:19:03 +0000 (09:19 +0200)]
themingengine: use gtk_icon_source_get_state_wildcarded()

A recent refactor of this code missed a check for the wildcarded state
on the icon source.

12 years agoGtkTreeView: Remove a dead assignment
Matthias Clasen [Sat, 3 Aug 2013 23:04:10 +0000 (01:04 +0200)]
GtkTreeView: Remove a dead assignment

This was found by the clang static analyzer.

12 years agoWayland: Add a missing break statement
Matthias Clasen [Sat, 3 Aug 2013 22:59:41 +0000 (00:59 +0200)]
Wayland: Add a missing break statement

Found by the clang static analyzer.

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 3 Aug 2013 20:37:04 +0000 (23:37 +0300)]
Updated Lithuanian translation

12 years agoTajik translation updated
Victor Ibragimov [Sat, 3 Aug 2013 19:37:17 +0000 (00:37 +0500)]
Tajik translation updated

12 years agoRemove assertions that are no longer true
Matthias Clasen [Sat, 3 Aug 2013 16:28:45 +0000 (18:28 +0200)]
Remove assertions that are no longer true

The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 3 Aug 2013 16:22:21 +0000 (18:22 +0200)]
Updated Norwegian bokmål translation

12 years agoiconhelper: clear the surface on invalidation
Cosimo Cecchi [Sat, 3 Aug 2013 16:03:52 +0000 (18:03 +0200)]
iconhelper: clear the surface on invalidation

This was missed during the pixbuf->surface conversion, so when the state
changed we were not recreating a new surface for it.

12 years agoAdd .ui.h files to git
Matthias Clasen [Sat, 3 Aug 2013 15:22:42 +0000 (17:22 +0200)]
Add .ui.h files to git

These files are generated, so adding them to git is somewhat
icky, but it helps translators who currently can't use intltool-update
on a fresh git checkout.

12 years agox11: send monitors-changed when screen scale changes
Alexander Larsson [Sat, 3 Aug 2013 14:51:28 +0000 (16:51 +0200)]
x11: send monitors-changed when screen scale changes

12 years agox11: Update root window scale when the screen scale changes
Alexander Larsson [Sat, 3 Aug 2013 14:49:38 +0000 (16:49 +0200)]
x11: Update root window scale when the screen scale changes